Skip to main content

6. Bindings and loops

Bindings and loops can be used to generalize and compress long scripts with repeating structure. For example, if you want to run some identical sets of operations multiple times, this can be generalized by creating a loop. Bindings are created through the let command while loops are made with the for command.